package com.ruoyi.shop.service;

import java.util.List;
import com.ruoyi.shop.domain.ShopSupplier;

/**
 * 供货商Service接口
 * 
 * @author Alan Zhang
 * @date 2021-09-14
 */
public interface IShopSupplierService 
{
    /**
     * 查询供货商
     * 
     * @param id 供货商主键
     * @return 供货商
     */
    public ShopSupplier selectShopSupplierById(Long id);

    /**
     * 查询供货商列表
     * 
     * @param shopSupplier 供货商
     * @return 供货商集合
     */
    public List<ShopSupplier> selectShopSupplierList(ShopSupplier shopSupplier);

    /**
     * 新增供货商
     * 
     * @param shopSupplier 供货商
     * @return 结果
     */
    public int insertShopSupplier(ShopSupplier shopSupplier);

    /**
     * 修改供货商
     * 
     * @param shopSupplier 供货商
     * @return 结果
     */
    public int updateShopSupplier(ShopSupplier shopSupplier);

    /**
     * 批量删除供货商
     * 
     * @param ids 需要删除的供货商主键集合
     * @return 结果
     */
    public int deleteShopSupplierByIds(String ids);

    /**
     * 删除供货商信息
     * 
     * @param id 供货商主键
     * @return 结果
     */
    public int deleteShopSupplierById(Long id);
}
